<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/page/public/taglib.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>发票详情</title>
<% request.setAttribute("menu", 1); %>
<%@ include file="/WEB-INF/page/public/contentmeta.jsp"%>
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<link rel="stylesheet" href="<%=basePath%>css/global.css" media="all" />
<link rel="stylesheet" href="<%=basePath%>plugins/font-awesome/css/font-awesome.min.css"/>
<link rel="stylesheet" href="<%=basePath%>css/system.css" media="all"/>
<link rel="stylesheet" href="<%=basePath%>css/tab.css" media="all" />
<link rel="stylesheet" href="<%=basePath%>css/YE.css" media="all" />
</head>
<body>
	
<!-- 发票详情 -->
<div id="TM-layui-pay" >
	<div class="TM-he-tong admin-entering">
		<form class="layui-form TM-entering-form" action="" id="enterform" novalidate="novalidate">
		
          <div class="layui-form-item TM-hetong-zhengshu">
            
             		 <div class="layui-input-block layui-ye-block">
		                <div class="YE-hetong-block" style="float:left;">
		                    <ul class="clefix YE-history-text">
		                        <li>申请人：<span>${record.createuserName}...</span></li>
		                        <li>发票抬头：<span>${record.title}...</span></li>
		                        <li>发票用途：<span>${record.used}</span></li>
		                        <li>备注：<span></span>${record.remark}</li>
		                    </ul>
		                    <ul class="clefix YE-history-textone">
		                        <li>申请时间：<span>${record.createdate.substring(0,10)}</span></li>
		                        <li>发票金额：<span>${record.totalamount}</span></li>
		                    </ul>
		                </div>                
		            </div>
            
        </div>  
        
        <div class="entering" style="width:74%;margin-left:120px;">
	        <h4>审批记录</h4>
	         <table class="site-table table-hover">
	            <thead>
	             	 <tr>
	                    <th style="width:182px;">审批人</th>
	                    <th style="width:182px;">审批意见</th>
	                    <th style="width:182px;">审批时间</th>
	                    <th style="width:181px;">审批状态</th>
	                </tr>
	              </thead>
	           <tbody class="tb_customercontacts">
	           		<c:forEach items="${record.approveUsers}"  var="au">
	           			<tr >
			                <td>${au.createuserName}</td>
			                <td>${au.opinion}</td>
			                <td><c:if test="${au.state>1}">${au.updatedate}</c:if></td>
			                <td class="<c:if test="${au.state==0||au.state==1}">ye-pay-bgtwo</c:if><c:if test="${au.state==2}">ye-pay-bg</c:if><c:if test="${au.state==3}">ye-pay-bgone</c:if>"></td>
		               	</tr>
	           		</c:forEach>
	           
					 
	            </tbody>
	          </table>
	          <input type="hidden" name="linetype" id="linetype1" value="1">
	     </div>      	       
    </form>
	</div>
</div>




</body>
</html>